<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>用户注册</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0"> 
	<style type="text/css">
body{

background:#fbf0e4;

}

#re{
width:960px;
height:700px;

margin:auto;

}
#retittle{
width:960px;
height:58px;


}
#remain{

width:960px;
height:500px;
background:#fff;
border:1px solid #dfdfdf;
}
#re1{
width:181px;
height:58px;


}
#re2{



}
#re3{
width:100px;
height:30px;
line-height:30px;

 float:right;
margin-top:-54px;
}
.idea{
font-size:15px;
color:#2c76c0;

}
.idea a{
text-decoration:none;

}
 .idea a:link{ color:#2c76c0;font-family:Verdana; } 
 .idea a:visited{color:#2c76c0;}
 .idea a:hover{ color:#00ccff;}
 .idea a:active{ color:#2c76c0;}
#remainfirst{
width:960px;
background:red;
height:40px;
line-height:40px;
margin-top:-16px;
border-bottom:1px solid #dfdfdf;
background:#ffcccc;
}
.use{
width:420px;
height:70px;
background:yellow;
margin:auto;
margin-top:5px;
}
#makesure{
cursor:pointer;
width:126px;
height:34px;
background:url(images/re.jpg) no-repeat center;
display:block;
border:;
margin-left:1px;
float:left;
}
#retry{
width:126px;
height:34px;

}
  </style>
  </head>
  
  
<body>
<SCRIPT LANGUAGE="JavaScript">
    function tt()
    {
        if(document.getElementById("a").value==document.getElementById("b").value && document.getElementById("a").value!='')
        {
            return true;
        }
        else
        {
            alert("2次输入的密码不一致！");
            return false;
        }
    }
</SCRIPT>

<div id="re">
 <div id="retittle">
   <div id="re1">
   <a href="homepage.html"><img src="images/logo3.jpg"></a>
   </div>
   <div id="re2">
     <p> </p>
   </div>
   <div id="re3">
        <span class="idea"><a href="">意见反馈</a></span>
   </div>


 </div>

 <div id="remain">
    <div id="remainfirst">
     <p>&nbsp;&nbsp;欢迎注册忘忧音乐平台账号！</p>

    </div>
     <div align="center">
        </div>
        
  	 <s:form action="manage_add" namespace="/user" method="post">
        <table  align="center" height="250"   width="412" bgColor="">
        <tr>
   		   <td>
   		   <div style="margin-top:63px;margin-left:96px">
   		   <table border="0" cellpadding="10" cellspacing="0" align="left" width="400px" bordercolor="" bgColor="">
            <tr>
   				<td colspan="2" align="center" borderColor="#000000"><h2></h2></td>
   		    </tr>
   			<tr>
   				<td colspan="2" align="center">${message }</td>
   			</tr>
   			<tr > 
   			
	   			<td class="td1" align="left" ><span style="color:red">*</span>用 户 名:</td>  
	   			<td class="td"><input type="text"  class="text"  name="user.userName"/></td>
	   		
			</tr>
            <tr>
			   	<td class="td1"><span style="color:red">*</span>密&nbsp;&nbsp;&nbsp;&nbsp;码:</td>
			   	<td class="td"><input type="password"  id="a" class="text" name="user.passwd"/></td>
			   
			</tr>
			<tr>
			   	<td class="td1"><span style="color:red">*</span>确认密码:</td>
			    <td class="td"><input type="password" id="b" class="text" /></td>
			</tr>
			<tr>
			   	<td class="td1" align="left"><span style="color:red">*</span>电子邮箱:</td>
			   	<td class="td"><input type="text" class="text" name="user.email"/></td>
			</tr>
		
			<tr>
			   	<td colspan="2" align='center'></td>
			</tr> 
		
			<tr>
			   	<td colspan="2" align="center" class="td">
  		           <input id ="makesure" type="submit" onclick="return tt()" value="确定"onfocus="this.blur()"/> 
  		           <input id="retry" type="reset" value="重置" onfocus="this.blur()"/>
  		        </td>
  		    </tr>
  		   </table>
  		   </div>
  		   </td>
  		  </tr>
  	   </table>
  	</s:form>
  	
 </div>





</div>

   
  </body>
</html>





